package com.group.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.group.activity.vo.PayAsyncVo;
import com.group.common.to.SeckillOrderTo;
import com.group.common.utils.PageUtils;
import com.group.activity.entity.ShopOrderEntity;
import com.group.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 订单表
 *
 * @author gxx
 * @email hongyezhaofang.com
 * @date 2021-11-13 10:36:51
 */
public interface ShopOrderService extends IService<ShopOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSeckillOrder(SeckillOrderTo to);

    void closeSeckillOrder(ShopOrderEntity entity);


    String notifyorder(PayAsyncVo payAsyncVo);

    R submitOrder(ShopOrderEntity shopOrderEntity);

    ShopOrderEntity getOrderInfoByOrderSn(String orderSn);

    List<ShopOrderEntity> getOrderList();

}

